package com.mdd.front.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 订单参数
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "订单分页请求对象", description = "订单分页请求对象")
public class OrderPageParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    private String sn;

    @ApiModelProperty(value = "用户信息 (用户昵称/用户编号)")
    private String userInfo;

    @ApiModelProperty(value = "服务名称")
    private String goodsName;

    @ApiModelProperty(value = "师傅名称")
    private String staffInfo;

    @ApiModelProperty(value = " 支付状态;0-待支付;1-已支付;")
    private Integer payStatus;

    @ApiModelProperty(value = "派单:1-已派单;0-未派单;")
    private Integer isDispatch;

    @ApiModelProperty(value = "下单开始时间")
    private String orderTimeStart;

    @ApiModelProperty(value = "下单结束时间")
    private String orderTimeEnd;

    @ApiModelProperty(value = "订单状态;0-待支付;1-预约中;2-服务中;3-已完成;4-已关闭")
    private Integer orderStatus;

    @ApiModelProperty(value = "推销员id")
    private Integer salesmanUserId;
    private Integer pageNo = 1;
    // 每页条数
    private Integer pageSize = 20;
}
